package com.example.demo.dao;

import com.example.demo.entify.AboveProblems;

import java.util.List;

import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
@Repository
public interface aboveProblemDao {
    int insert(AboveProblems aboveProblems);
    
    List<AboveProblems> Problems(String userName);
    List<AboveProblems> AcceptedProblem();
    int deleteProblems( Integer id);
    int updatePromState(Integer id,Integer orderId );
    List<AboveProblems>checkProblem(String userName);
    int updatePromState2(Integer id);
    int aboveProblemid(Integer id);
	int updatePromState1(Integer id);
	int updatePromState3(Integer id);

	List<AboveProblems> ProblemBystate();
}
